package com.blog.cloud.auth.oauth.config;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

import java.net.Proxy;

@Getter
@Setter
@Builder
public class HttpConfig {
    private int timeout = 3000;
    private Proxy proxy;

    public static HttpConfig.HttpConfigBuilder builder() {
        return new HttpConfig.HttpConfigBuilder();
    }

    public HttpConfig() {
    }

    public HttpConfig(int timeout, Proxy proxy) {
        this.timeout = timeout;
        this.proxy = proxy;
    }

}
